Skip to content

Add better logging when node is not installed#1097

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
mjbvz:better-logging-when-npm-not-installed
Jun 24, 2016
Merged

Add better logging when node is not installed#1097
mjbvz merged 1 commit intomicrosoft:masterfrom
mjbvz:better-logging-when-npm-not-installed

Conversation

@mjbvz
Copy link
Copy Markdown
Contributor

@mjbvz mjbvz commented Jun 23, 2016

Bug

Poor initial experiance when launching NTVS without node installed.

Fix

Adds a few more logging points:

  • Log if npm cannot be found
  • Log if typings tool install fails
  • Log if typings tool cannot be found.

All these are logged to the output window.

Testing

Manually tested by messing up node path and then correcting node path to make sure the errors are not shown

image

Closes #1069

Bug
Poor initial experiance when launching NTVS without node installed.

Fix
Adds a few more logging points:
* Log if npm cannot be found
* Log if typings tool install fails
* Log if typings tool cannot be found.

All these are logged to the output window.

Closes microsoft#1069
@mjbvz
Copy link
Copy Markdown
Contributor Author

mjbvz commented Jun 24, 2016

At some point, I'd like to revisit #729. Adding strings is a pain right now and it's far too easy to introduce fun bugs through string name mismatches.

@mousetraps
Copy link
Copy Markdown
Contributor

👍 this is a good start, but I'm not entirely sure if this is really a place users will look so we should continue to refine the design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants